package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author: wufeng
 * @date: 2018/9/11 10:18
 * @desrcption: 常用筛选项设置
 */
@Getter
@Setter
@ToString
public class ScreenAddDTO extends BaseDTO {

    private static final long serialVersionUID = 8109698081602123721L;
    /**
     * 应用id
     */
    @NotNull(message = "{dto.msg.screenAdd.appId.NotNull}")
    private Long appId;

    /**
     * 表单id
     */
    @NotNull(message = "{dto.msg.screenAdd.formId.NotNull}")
    private Long formId;

    private List<String> screenList;
    /**
     * 业务类型
     */
    private Integer businessType;

    /**
     * 子业务类型
     */
    private Integer subBusinessType;
    /**
     * 字段attr
     */
    private String attr;
}
